<template>
    <div class="flex_col m5 p10 card sta_root">
        <label class="flex_center_self">状态</label>
        <div class="flex_row_center mt5">
            <label>版本</label>
            <label class="ml5">{{ toHex4(deviceStatus.version) }}</label>
        </div>
    </div>
</template>

<script lang="ts" setup>
import { deviceStatus } from '../utils/react';
import { toHex4 } from '../utils/utils';

</script>

<style scoped>

.sta_root {
    min-width: 100px;
}

</style>
